#ifndef __BSP_SPI_H
#define __BSP_SPI_H

#include "main.h"

void SPI_SendLightData(uint8_t red,uint8_t green,uint8_t blue);
void Transfer_RGB2SPI(uint8_t *rgb,uint8_t *spi_buf,uint16_t pixel_cnt);
void RGB_SendPixelRGB(uint8_t *buf,uint16_t length,uint32_t timeout);

#endif




